package work.konbai.bmc.cms.service;


import work.konbai.bmc.cms.domain.MaterialDO;
import work.konbai.bmc.cms.dto.MaterialDTO;
import work.konbai.bmc.cms.vo.MaterialVO;

import java.util.List;
import java.util.Map;

public interface MaterialService {

    MaterialVO get(Long id);

    List<MaterialVO> list(Map<String, Object> map);

    List<MaterialDO> listMaterial();

    int count(Map<String, Object> map);

    int save(MaterialDO material);

    int update(MaterialDO material);

    int remove(Long id);

    List<MaterialDTO> details(Long materialId);

    int saveTransfer(MaterialDTO materialDTO);
}
